/*
 * Copyright 2016-2020 the original author.All rights reserved.
 * Kingstar(honeysoft@126.com)
 * The license,see the LICENSE file.
 */

package com.aiteasoft.school.stascore.entity;

import org.teasoft.bee.osql.annotation.Ignore;
import org.teasoft.bee.osql.annotation.Table;

/**
 * @author Kingstar
 * @since  1.9
 */
@Table("scores")
public class StaScore {
	
	//the field name same as Scores
    private String classno;
    private String term;
    private String examno;
    private String subject;
    private Double score;  //不用于显示
    
    //the field name define in Condition
    private Double maxscore;
    private Double avgscore;
    private Double minscore;
    
    @Ignore
    private String orderType;
    
    
	public String getClassno() {
		return classno;
	}
	public void setClassno(String classno) {
		this.classno = classno;
	}
	public String getTerm() {
		return term;
	}
	public void setTerm(String term) {
		this.term = term;
	}
	public String getExamno() {
		return examno;
	}
	public void setExamno(String examno) {
		this.examno = examno;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}
	
	public Double getMaxscore() {
		return maxscore;
	}
	public void setMaxscore(Double maxscore) {
		this.maxscore = maxscore;
	}
	public Double getAvgscore() {
		return avgscore;
	}
	public void setAvgscore(Double avgscore) {
		this.avgscore = avgscore;
	}
	public Double getMinscore() {
		return minscore;
	}
	public void setMinscore(Double minscore) {
		this.minscore = minscore;
	}
	
	public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	public String toString(){	
		 StringBuffer str=new StringBuffer();	
		 str.append("StaScore[");
		 str.append("classno=").append(classno);
		 str.append(",term=").append(term);
		 str.append(",examno=").append(examno);
		 str.append(",subject=").append(subject);
		 str.append(",score=").append(score);
		 str.append(",maxscore=").append(maxscore);
		 str.append(",avgscore=").append(avgscore);
		 str.append(",minscore=").append(minscore);
		 str.append(",orderType=").append(orderType);
		 str.append("]");			 
		 return str.toString();	
	 }

}
